/* ========================== GENERAL STYLING ===============================*/

@font-face {
    font-family: 'dogica';
    src: url(/fonts/dogica.otf);
}

body {
    text-align: center;
    background-color: black;
    margin: auto;

}
h1 {
    color: rgb(0, 247, 255);
    font-family: dogica, sans-serif;
    font-size: 20px;
    line-height: 25px;
}
footer p {
    color: rgb(61, 61, 61);
    position: fixed;
    bottom: 10px;
    margin: auto;
}
p {
    color: white;
    font-family: dogica;
    font-size: 10px;
    line-height: 15px;
    padding: 10px;
}
ul {
    color: white;
    font-family: dogica;
    font-size: 10px;
    line-height: 0.8;
}
h1 {
    color: rgb(0, 247, 255);
    font-family: dogica, sans-serif;
    font-size: 20px;
    line-height: 25px;
}
.h1-1 {
    color: orange;
    font-family: dogica, sans-serif;
    font-size: 12px;
    line-height: 25px;
}
.h1-2 {
    color:rgb(22, 214, 86);
}
.p-1 {
    text-align: left;
    padding: 10px;
    text-indent: 35px;
}

/* ========================== BG ANIMATION ===============================*/

.spacebg1 {
    animation-name: backgroundScroll;
    width: 150%;
    min-height: calc(100vh + 400px);
    position: fixed;
    top: 0;
    left: -250px;
    background-image: url(/images/starryTRANS.gif);
    z-index: -1;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes backgroundScroll {
    0% {
        transform: translateY(-400px);
    }
    100% {
        transform: translateY(0px);
    }
}

.spacebg2 {
    animation-name: backgroundScroll2;
    width: 150%;
    min-height: calc(100vh + 400px);
    position: fixed;
    top: 0;
    background-image: url(/images/starryTRANS.gif);
    background-position: left;
    left: -100px;
    opacity: 40%;
    size: 60%;
    z-index: -1;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes backgroundScroll2 {
    0% {
        transform: translateY(-400px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ========================== MAIN LAYOUT ===============================*/

/* This was annoying ngl. Getting the columns to do what I want was fine tuning and figuring out
how certain properties worked. The hardest part IMO.*/

/* col-start is just where the column starts. If followed by a number, it specifies which column
it begins. */

/* grid row and column are the same thing but in different directions. */

/* CSS Animation is quite easy actually. Instead of moving it yourself like in animation software, you just
use some basic numbers (god forbid some math) and work with it! I haven't seen it work otherwise, but generally
you want a beginning, middle, and end of the animation if you want it to loop.*/

.wrapper {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(15, [col-start] 1fr);
    padding-top: 100px;
    max-width: 1000px;
    margin: auto;
}

/* Max content does what it says. The height is determined by the content inside the item.*/
.nav {
    border: 5px solid rgb(0, 247, 255);
    border-style: outset;
    grid-column: col-start / span 3;
    grid-row: 1;
    height: max-content;
    padding: 10px;
    background-color: #000000D9;
    text-align: center;
}
.nav h1{
padding-bottom: 20px;
transform: translate(-4px);
}
.main {
    border: 5px solid rgb(0, 247, 255);
    border-style: outset;
    grid-column: col-start 4 / span 11;
    grid-row: 1 / 6;
    height: 1000px;
    /*padding: 10px;*/
    background-color: #000000D9;
    animation: fadeEffect 1s;
    display: none;
}
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

.todo {
    border: 5px solid rgb(0, 247, 255);
    border-style: outset;
    grid-column: col-start / span 3;
    grid-row: 2;
    height: max-content;
    padding: 10px;
    background-color: #000000D9;

}
.badges{
    border: 5px solid rgb(0, 247, 255);
    border-style: outset;
    grid-column: col-start 15 / span 4;
    grid-row: 1;
    height: max-content;
    padding: 10px;
    background-color: #000000D9;
}
.footer {
    grid-row: 7;
    grid-column: col-start / span 15;
    padding: 10px;
}
.undercons {
    animation-name: throb;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
@keyframes throb {
	0%   {transform: scale(1.1);}
	50%  {transform: scale(1);}
	100% {transform: scale(1.1);}
}
.logosway{
    animation-name: sway;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-duration: 5s;
}
@keyframes sway{
    0% {transform: rotate(15deg);}
    50% {transform: rotate(-15deg);}
    100% {transform: rotate(15deg);}
}
.blinky {
    animation-name: blink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(1,0,0,1);
}
@keyframes blink{
    0% {opacity: 1;}
    50% {opacity: 0;}
    100% {opacity: 1;}
}
.oops {
    animation-name: oop;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    margin-top: 50%;
    color: salmon;
}
@keyframes oop{
    0% {transform: rotate(0deg);}
    25% {transform: rotate(90deg);}
    50% {transform: rotate(180deg);}
    75% {transform: rotate(270deg);}
    100% {transform: rotate(360deg);}
}
/* ========================== NAV BUTTONS ===============================*/


/*The style of the actual buttons*/
.tabs button{
    display: block;
    background-color: inherit;
    color: rgb(0, 247, 255);
    padding: 10px;
    width: 100%;
    border: none;
    outline: outset;
    outline-width: 5px;
    outline-color: rgb(0, 247, 255);
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
    text-align: center;
    font-family: dogica;
    font-size: 15px;
}
/*The text of the button changes color when hovered over*/
.tabs button:hover {
    color: salmon;
}
/*The text of the button changes color when on the active tab*/
.tabs button.active {
    color: darkorange;
}
.dropdown {
    position: relative;
    display: inherit;
}
.dropbtn {
    display: block;
    background-color: inherit;
    color: rgb(0, 247, 255);
    padding: 10px;
    width: 100%;
    border: none;
    outline: outset;
    outline-width: 5px;
    outline-color: rgb(0, 247, 255);
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
    text-align: center;
    font-family: dogica;
    font-size: 15px;
}
.dropdown-content {
    display: none;
    position: absolute;
    z-index: 10;
    min-width: 100%;
}
.dropbtn:hover .dropdown-content {display: block;}